<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>在线预订订单查找</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<link rel="stylesheet" href="../css/pravate/common.css" />
		<link rel="stylesheet" href="../css/mui.min.css" />
		<link rel="stylesheet" href="../css/mui.picker.min.css" />
		<link rel="stylesheet" href="../css/pravate/onlineBooking.css" />
		<script type="text/javascript" src="../js/mui.min.js"></script>
		<script type="text/javascript" src="../js/mui.picker.min.js" ></script>
		<script type="text/javascript" src="../js/jquery-2.1.0.js"></script>
		<script type="text/javascript" src="../js/mobile-detect.min.js" ></script>
		<script type="text/javascript" src="../js/config.js"></script>
		<script type="text/javascript" src="../js/common.js"></script>
		<script type="text/javascript" src="../controll/onlineBooking.js" ></script>
	</head>
		<style>
			.mui-title{
				height: 44px;
				font-size: 0;
			}
			.mui-title span{
				font-size: 16px;
				display: inline-block;
				height: 34px;
				line-height: 34px;
				padding: 0 10px;
			}
			.nav-t{
				font-size: 14px;
				text-align: center;
				background: #FFF;
				padding: 0;
			}
			.nav-t div{
				width: 49%;
				margin: 0;
				text-align: center;
				display: inline-block;
				padding: 15px 0;
			}
			.border-bottom{
				border-bottom: 2px solid #2F81D2;
				color: #2F81D2;
			}
			.search{
				height: 44px;
				width: 44px;
				position: relative;
				padding-top: 8px;
				left: 10px;
				top: 4px;
				color: #333;
			}
			.search img{
				width: 25px;
				height: 25px;
				
			}
			.use_word{
				padding: 15px;
				font-size: 14px;
			}
			.use_word i{
				font-size: 20px;
			}
			.xz{
				color: rgb(245, 127, 88);
				font-size: 14px;
				float: right;
				margin-right: 10px;
				font-weight: 700;
			}
		</style>
	<body>
		<header class="mui-bar mui-bar-nav">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<!--<h1 class="mui-title">在线预订</h1>-->
			<div class="mui-title" style="padding: 5px;">
				<span>在线预授权</span>
			</div>
			<a href="javascript:;" class="mui-pull-right search">
				查询
			</a>
		</header>
		<div class="mui-content">
			<div class="nav-t">
				<div>
					<span class="titleLeft border-bottom">在线预授权</span>
				</div> 
				<div class="titleRight">
					<span>预授权列表</span>
				</div>				
			</div>
			<!--搜索条件列表-->
			<ul class="userInfo">
				<li>
					<label>客户姓名</label>
					<div class="input-group">
						<input type="text" value="" placeholder="请输入客户姓名" />
					</div>
				</li>
				<li>
					<label>手机号码</label>
					<div class="input-group">
						<input type="number" value="" placeholder="请输入手机号码" />
					</div>
				</li>
				<li>
					<label>入住时间</label>
					<div class="input-group time" style="color: #666;text-align: left;padding-left: 20px;">请选择入住时间</div>
				</li>
				<li>
					<label>备注信息</label>
					<div class="input-group">
						<input type="text" value="" placeholder="请输入房号等信息" />
					</div>
				</li>
				<li>
					<label>总计</label>
					<div class="input-group">
						<span class="price_dw">￥</span>
						<input type="number" value="" placeholder="请输入预授权金额" style="color: #ff4400;font-size: 18px;" />
					</div>
				</li>
			</ul>
			<a href="deposiUseWord.html" class="use_word"><i class="mui-icon mui-icon-help"></i>使用说明</a>
			<span class="xz">暂只支持支付宝</span>
			<div class="searchBtn">
				<button class="mui-btn mui-btn-blue mui-btn-block btn-disable" style="background: #2F81D2;color: #fff;">确认并编辑短信</button>
			</div>
		</div>
		<script>
			mui.init();
			mui("body").on("tap",".time",function(){
				$("input").blur();
				var that=$(this);
				var dtPicker = new mui.DtPicker({type:'date'}); 
			    dtPicker.show(function (selectItems) { 
			    	var length=$('input').length; 
			    	for(var i=0;i<length;i++){
				   		if($('input').eq(i).val()==""){
				   			$(".searchBtn button").addClass("btn-disable");
				   			break;
				   			return false;
				   		}
				   		$(".searchBtn button").removeClass("btn-disable");
				   	}
					var time=selectItems.y.value+"-"+selectItems.m.value+"-"+selectItems.d.value;
			    	that.html(time);
			    	
			    })
			})
			mui("body").on("tap",".titleRight",function(){
				mui.openWindow("list.html","list.html");
			})
			mui("body").on("tap",".search",function(){
				console.log(1);
				mui.openWindow("orderSearchDeposit.html","orderSearchDeposit.html");
				return false;
			})
			
			mui("body").on("tap",".use_word",function(){
				mui.openWindow("deposiUseWord.html","deposiUseWord.html");
			})
			
			notice_websokit();
		</script>
	</body>

</html>